package reflect.annotations;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

public class Demo {
    public static void main(String[] args) {
        try (FileOutputStream fos = new FileOutputStream("fos.txt");) {
            fos.write( 1);
            System.out.println("写出完毕");
            System.out.println("分支上做的输出");
            System.out.println("新的分支上做的输出");
            System.out.println("又输出了一下");
            System.out.println("又双叒叕输出了一下");
        } catch (IOException e) {
            e.printStackTrace();
        }

    }
}
